package chances.epg.commons.log;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class EpgLogFactory {
	private static final Logger sysLogger = LoggerFactory.getLogger("epg");
	private static final Logger accessLogger = LoggerFactory.getLogger("access");
	private static final Logger searchLogger = LoggerFactory.getLogger("search");
	private static final Logger upgradeLogger = LoggerFactory.getLogger("upgrade");
	private static final Logger clientLogger = LoggerFactory.getLogger("client");
	private static final Logger LogonLogger = LoggerFactory.getLogger("logon");
	private static final Logger playLogger = LoggerFactory.getLogger("playLogger");
	private static final Logger logoutLogger = LoggerFactory.getLogger("logoutLogger");
	private static final Logger backLogger = LoggerFactory.getLogger("backLogger");

	
	public static Logger getLogonlogger() {
		return LogonLogger;
	}

	public static Logger getPlaylogger() {
		return playLogger;
	}

	public static Logger getLogoutlogger() {
		return logoutLogger;
	}

	public static Logger getPlayendlogger() {
		return playEndLogger;
	}

	private static final Logger playEndLogger = LoggerFactory.getLogger("playEndLogger");
	
	/**
	 * 系统日志.
	 * @return
	 */
	public static final Logger getSystemLogger() {
		return sysLogger;
	}
	
	/**
	 * 访问日志.
	 * @return
	 */
	public static final Logger getAccessLogger() {
		return accessLogger;
	}
	
	/**
	 * 搜索引擎日志.
	 * @return
	 */
	public static final Logger getSearchLogger() {
		return searchLogger;
	}
	
	/**
	 * 升级.
	 * @return
	 */
	public static final Logger getUpgradeLogger() {
		return upgradeLogger;
	}
	
	/**
	 * 终端日志.
	 * @return
	 */
	public static final Logger getClientLogger() {
		return clientLogger;
	}

	public static Logger getBacklogger() {
		return backLogger;
	}
}
